﻿
namespace Marmat.Forms.Views
{
    namespace GridControl
    {
        public class CellValueChangingEventArgs : RowColEventArgs
        {
            private Grid.CellValueChangingEventArgs _args;

            public CellValueChangingEventArgs(Forms.GridControl gridControl, Grid.CellValueChangingEventArgs args) : base(gridControl, args)
            {
                this._args = args;
            }

            /// <summary>
            /// 获取当前单元格值。
            /// </summary>
            /// <returns></returns>
            public object Value
            {
                get
                {
                    return this._args.Value;
                }
            }
        }
    }
}